﻿// =================================================================== 
// Module说明
//====================================================================
// 创建时间：2018-06-08 16:43:31
// 负责人：Sushee
// ===================================================================
using System;
using System.Data;
using System.Collections.Generic;
using System.Linq.Expressions;
using OF.Utility;
using OF.Component.Model;
using OF.Component.IDAL;
using OF.Component.Factory;
using OF.Component.DTO;

namespace OF.Component.BLL
{

    /// <summary>
    ///店铺信息 扩展
    /// </summary>
    public partial class ShopOperate
    {
        /// <summary>
    	/// 根据断言条件获取单个店铺信息
    	/// </summary>
        public static ShopInfo QuerySingle(Expression<Func<ShopInfo, bool>> predicate)
        {
            return dal.QuerySingle(predicate);
        }
        /// <summary>
    	/// 根据断言条件获获取店铺信息列表
    	/// </summary>
        public static IList<ShopInfo> QueryList(Expression<Func<ShopInfo, bool>> predicate)
        {
            return dal.QueryList(predicate);
        }

        /// <summary>
        /// 查询列表
        /// </summary>
        /// <param name="scObj"></param>
        /// <returns></returns>
        public static IList<ShopDto> SearchList(scShop scObj)
        {
            return dal.SearchList(scObj);
        }
    }
}